﻿@model Mvp.Mvc.ViewModels.HomeViewModel
@{
    ViewBag.Title = "Mount Vernon Plantation - Home Page";
}

<div class="post">
	<h2 class="title">Welcome to Our Community</h2>
	<div class="entry">
        <img src='@Url.Content("~/Content/images/home1.jpg")' align="right" style="margin-left: 15px;" alt="home1" />
        <p><b>Mount Vernon Plantation</b> is a gated community located in a quiet haven in prestigious Dunwoody, Georgia. It is nestled off Abernathy Road and Mount Vernon Highway in Fulton County.</p>
        <p>Mount Vernon Plantation sits on approximately 14 acres of heavily wooded and lushly landscaped grounds. It is conveniently located just minutes from GA-400, MARTA and a myriad of exciting shopping experiences.</p>
        <p>The 126, two-story town homes of Mount Vernon Plantation are constructed around and inside the closed loop of Mount Vernon Circle with associated parking areas.</p>
        <p>Mount Vernon Plantation consists of beautifully designed town homes with spacious 2 and 3 bedroom floor plans, all with 2 ½ baths. Features include fireplaces, crown molding, beautiful new kitchens and baths, designer carpets and paint colors for today’s lifestyles.</p>
        <p>Many units have brick patios or spacious wooden decks and some units have two-car garages. The beauty of mature landscaping and the convenience of a gated entrance, lighted tennis court, clubhouse, and swimming pool assure year-round indulgences for you and your neighbors at Mount Vernon Plantation.</p>
        <div style="clear: both;">&nbsp;</div>
    </div>
</div>
@if (this.Model.Announcements != null)
{ 
    <div class="post">
	    <h2 class="title">Announcements</h2>
        @foreach (var announcement in this.Model.Announcements)
        { 
	        <div class="entry">
                <p>
                    <h3>@announcement.Title</h3>
                </p>
                <p>@announcement.Text</p>
                <p style="text-align: right;">
                    <i>Posted on @announcement.CreatedOn.ToString("ddd, MMMM dd, yyyy") at @announcement.CreatedOn.ToString("h:mm tt") by @announcement.CreatedBy.UserName</i>
                </p>
            </div>
        }
    </div>
}

@section SideBar 
{
        @using(this.Html.BeginForm("Search", "Home"))
        {
			<div>
				@this.Html.EditorFor(m => m.SearchQuery)
				<input type="submit" class="button" value="Search" />
			</div>
        }
        <div style="clear: both;">&nbsp;</div>
    <div class="SidebarSection">
        <h3>Twitter Feed</h3>
        <div>
            @this.Html.Partial("_TwitterFeed")
        </div>
        <div style="clear: both;">&nbsp;</div>
    </div>
    <div class="SidebarSection">
        <h3>Blog Items</h3>
        <div>
            @this.Html.Partial("_BlogFeed")
        </div>
        <div style="clear: both;">&nbsp;</div>
    </div>
}

@section PreFooterColumn1 
{
    <h2>Find Us</h2>
    Mount Vernon Plantation<br />
    1212 Mount Vernon Highway<br />
    Dunwoody, GA 30338
}

@section PreFooterColumn2 
{
    <h2>Contact Us</h2>
    @if (this.Model.ContactUsSubmitted)
    {
        <p>Thanks for your submission.</p>
    }
    else
    { 
        using (this.Html.BeginForm())
        {
            <table>
                <tr>
                    <td>@this.Html.LabelFor(m => m.ContactUs.Email)</td>
                    <td>
                        @this.Html.EditorFor(m => m.ContactUs.Email)
                        @this.Html.ValidationMessageFor(m => m.ContactUs.Email)
                    </td>
                </tr>
                <tr>
                    <td>@this.Html.LabelFor(m => m.ContactUs.Name)</td>
                    <td>
                        @this.Html.EditorFor(m => m.ContactUs.Name)
                        @this.Html.ValidationMessageFor(m => m.ContactUs.Name)
                     </td>
                </tr>
                <tr>
                    <td>@this.Html.LabelFor(m => m.ContactUs.Subject)</td>
                    <td>
                        @this.Html.EditorFor(m => m.ContactUs.Subject)
                        @this.Html.ValidationMessageFor(m => m.ContactUs.Subject)
                    </td>
                </tr>
            </table>
            <p>
                @this.Html.LabelFor(m => m.ContactUs.Message)<br />
                @this.Html.EditorFor(m => m.ContactUs.Message)<br/>
                @this.Html.ValidationMessageFor(m => m.ContactUs.Message)
            </p>
            <p>
                <input type="submit" value="Submit" class="button" />
            </p>
        }
    }
}

@section PreFooterColumn3
{
    <h2>Board of Directors</h2>
    <ul>
        <li>President - Steve Bock</li>
        <li>Vice President - Brooks Harvard</li>
        <li>Secretary - Susan Wynn</li>
        <li>Treasurer - Ellie Terry</li>
        <li>Director - Scott Percy</li>
    </ul>
}